﻿using System;

namespace Microsoft.Xna.Framework
{
	/// <summary>
	/// Arguments for the <see cref="E:GraphicsDeviceManager.PreparingDeviceSettings"/> event.
	/// </summary>
	public class PreparingDeviceSettingsEventArgs : EventArgs
	{
		private GraphicsDeviceInformation graphicsDeviceInformation;

		#region Properties
		/// <summary>
		/// Information about the GraphicsDevice.
		/// </summary>
		public GraphicsDeviceInformation GraphicsDeviceInformation
		{
			get { return graphicsDeviceInformation; }
		}
		#endregion

		#region Constructor
		/// <summary>
		/// Creates a new instance of PreparingDeviceSettingsEventArgs.
		/// </summary>
		/// <param name="graphicsDeviceInformation">Information about the GraphicsDevice.</param>
		public PreparingDeviceSettingsEventArgs(GraphicsDeviceInformation graphicsDeviceInformation)
		{
			this.graphicsDeviceInformation = graphicsDeviceInformation;
		}
		#endregion
	}
}
